using Ln.Fram.SqlSugarCore;

namespace Jyt.Mes.SqlSugarCore;

[DependsOn(typeof(LnFramSqlSugarCoreModule))]
public class JytMesSqlSugarCoreModule : AbpModule
{
	public override void ConfigureServices(ServiceConfigurationContext context)
	{
		context.Services.AddLnDbContext<JytMesDbContext>();
		//默认不开放，可根据项目需要是否Db直接对外开放
		//context.Services.AddTransient(x => x.GetRequiredService<ISqlSugarDbContext>().SqlSugarClient);
	}
}